package com.gla.domain;

import lombok.Data;
import java.io.Serializable;

@Data
public class User implements Serializable {

    private int id;
    private String account;
    private String password;
    private String name;
    private String photo;
    private int is_vip;

    public User() {
    }

    public User(int id, String account, String password, String name, String photo, int is_vip) {
        this.id = id;
        this.account = account;
        this.password = password;
        this.name = name;
        this.photo = photo;
        this.is_vip = is_vip;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public int getIs_vip() {
        return is_vip;
    }

    public void setIs_vip(int is_vip) {
        this.is_vip = is_vip;
    }
}